﻿#include "stdafx.h"
#include "Log.h"

NatRacing::Log::Log()
{
	out.open("NatRacing.log");

	//打开控制台
#ifdef NR_DEBUG
	AllocConsole();
	freopen("CONOUT$","w+t",stdout);
	freopen("CONIN$","r+t",stdin); 	
#endif

	SAVE_LOG_NENDL("---------------------NatRacing日志文件---------------------");
}

NatRacing::Log::~Log()
{
	out.close();
}
